cmake_minimum_required(VERSION 3.10)
project(mymodbus)

add_compile_options(-fPIC)
aux_source_directory(. SRC_DIR)
aux_source_directory(./libmodbus SRC_DIR)

include_directories(./libmodbus)
add_executable(mymodbus ${SRC_DIR})
